package camel.corp.universalcopy;

import android.content.SharedPreferences;
import android.preference.Preference;
import android.preference.PreferenceManager;
import com.camel.corp.universalcopy.aa;
import com.camel.corp.universalcopy.ga;

class aa implements Preference.OnPreferenceChangeListener {
  aa(ga paramga) {}
  
  public boolean onPreferenceChange(Preference paramPreference, Object paramObject) {
    SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(paramPreference.getContext());
    byte b = 0;
    boolean bool = sharedPreferences.getBoolean("service_active", false);
    ga ga1 = this.a;
    int i = b;
    if (bool) {
      i = b;
      if (((Boolean)paramObject).booleanValue())
        i = 1; 
    } 
    ga.a(ga1, i);
    return true;
  }
}


/* Location:              D:\Users\alienware\AndroidStudioProjects\Lazero\sample\sampler\classes-dex2jar\com\camel.jar!\camel\cor\\universalcopy\aa.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.0.7
 */